/*
 * 文  件  名：DemoInterceptor.java
 * 版         权：Copyright©2013-2016 FuRongBao All Rights Reserved
 * 描         述：
 * 修  改  人：mq.zhang
 * 修改时间：2016年9月9日
 */
package com.mqzhang.common.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;

/**
 * 页面请求拦截器
 * 
 * @author mq.zhang
 * @version V1.0 2016年9月9日
 */
public class RequestInterceptor implements HandlerInterceptor {

    /**
     * {@inheritDoc}
     */
    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        return true;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView)
            throws Exception {
        
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
            throws Exception {
        
    }

}
